package com.cmccgz.udacs_landlord_webapp.main.accreditmanager;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.CardInfo;

import java.util.List;

/**
 * 开卡授权约束类
 */
public interface AccreditMngContract {


    public interface Presenter extends BasePresenter {

        void completeAppAccredit(String mobile, String houseId, String endTime, String userId, List<CardInfo> cardList, String appOpen);

    }

    interface View extends BaseView<AccreditMngContract.Presenter> {

        void showEmptyHouse();

        void showEmptyEndTime();

        void showEmptyUserId();

        void showLoadingDialog();

        void hideLoadingDialog();

        void appAccreditCardSuccess();

        void appAccreditError(String errMsg);

    }


}
